package rpc

import (
	"sync/atomic"

	"gitee.com/ameise84/e3dds/internal/message"
	"gitee.com/ameise84/e3net"
)

type Conn struct {
	raw      *rawContext
	tag      e3net.Tag
	isActive atomic.Bool
}

func (ts *Conn) Send(msg *message.Msg) error {
	return ts.raw.send(msg)
}
